﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000767 RID: 1895
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class GetMovieRacingDataScRsp : IMessage<GetMovieRacingDataScRsp>, IMessage, IEquatable<GetMovieRacingDataScRsp>, IDeepCloneable<GetMovieRacingDataScRsp>, IBufferMessage
	{
		// Token: 0x1700183B RID: 6203
		// (get) Token: 0x06005534 RID: 21812 RVA: 0x000E6A53 File Offset: 0x000E4C53
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<GetMovieRacingDataScRsp> Parser
		{
			get
			{
				return GetMovieRacingDataScRsp._parser;
			}
		}

		// Token: 0x1700183C RID: 6204
		// (get) Token: 0x06005535 RID: 21813 RVA: 0x000E6A5A File Offset: 0x000E4C5A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return GetMovieRacingDataScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x1700183D RID: 6205
		// (get) Token: 0x06005536 RID: 21814 RVA: 0x000E6A6C File Offset: 0x000E4C6C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return GetMovieRacingDataScRsp.Descriptor;
			}
		}

		// Token: 0x06005537 RID: 21815 RVA: 0x000E6A73 File Offset: 0x000E4C73
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetMovieRacingDataScRsp()
		{
		}

		// Token: 0x06005538 RID: 21816 RVA: 0x000E6A86 File Offset: 0x000E4C86
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetMovieRacingDataScRsp(GetMovieRacingDataScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this.movieRacingDataList_ = other.movieRacingDataList_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06005539 RID: 21817 RVA: 0x000E6ABC File Offset: 0x000E4CBC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetMovieRacingDataScRsp Clone()
		{
			return new GetMovieRacingDataScRsp(this);
		}

		// Token: 0x1700183E RID: 6206
		// (get) Token: 0x0600553A RID: 21818 RVA: 0x000E6AC4 File Offset: 0x000E4CC4
		// (set) Token: 0x0600553B RID: 21819 RVA: 0x000E6ACC File Offset: 0x000E4CCC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x1700183F RID: 6207
		// (get) Token: 0x0600553C RID: 21820 RVA: 0x000E6AD5 File Offset: 0x000E4CD5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<MovieRacingData> MovieRacingDataList
		{
			get
			{
				return this.movieRacingDataList_;
			}
		}

		// Token: 0x0600553D RID: 21821 RVA: 0x000E6ADD File Offset: 0x000E4CDD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as GetMovieRacingDataScRsp);
		}

		// Token: 0x0600553E RID: 21822 RVA: 0x000E6AEC File Offset: 0x000E4CEC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(GetMovieRacingDataScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && this.movieRacingDataList_.Equals(other.movieRacingDataList_) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600553F RID: 21823 RVA: 0x000E6B3C File Offset: 0x000E4D3C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			num ^= this.movieRacingDataList_.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06005540 RID: 21824 RVA: 0x000E6B89 File Offset: 0x000E4D89
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06005541 RID: 21825 RVA: 0x000E6B91 File Offset: 0x000E4D91
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06005542 RID: 21826 RVA: 0x000E6B9C File Offset: 0x000E4D9C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(64);
				output.WriteUInt32(this.Retcode);
			}
			this.movieRacingDataList_.WriteTo(ref output, GetMovieRacingDataScRsp._repeated_movieRacingDataList_codec);
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06005543 RID: 21827 RVA: 0x000E6BEC File Offset: 0x000E4DEC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			num += this.movieRacingDataList_.CalculateSize(GetMovieRacingDataScRsp._repeated_movieRacingDataList_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06005544 RID: 21828 RVA: 0x000E6C40 File Offset: 0x000E4E40
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(GetMovieRacingDataScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this.movieRacingDataList_.Add(other.movieRacingDataList_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06005545 RID: 21829 RVA: 0x000E6C8D File Offset: 0x000E4E8D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06005546 RID: 21830 RVA: 0x000E6C98 File Offset: 0x000E4E98
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 64U)
				{
					if (num != 82U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.movieRacingDataList_.AddEntriesFrom(ref input, GetMovieRacingDataScRsp._repeated_movieRacingDataList_codec);
					}
				}
				else
				{
					this.Retcode = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04002152 RID: 8530
		private static readonly MessageParser<GetMovieRacingDataScRsp> _parser = new MessageParser<GetMovieRacingDataScRsp>(() => new GetMovieRacingDataScRsp());

		// Token: 0x04002153 RID: 8531
		private UnknownFieldSet _unknownFields;

		// Token: 0x04002154 RID: 8532
		public const int RetcodeFieldNumber = 8;

		// Token: 0x04002155 RID: 8533
		private uint retcode_;

		// Token: 0x04002156 RID: 8534
		public const int MovieRacingDataListFieldNumber = 10;

		// Token: 0x04002157 RID: 8535
		private static readonly FieldCodec<MovieRacingData> _repeated_movieRacingDataList_codec = FieldCodec.ForMessage<MovieRacingData>(82U, MovieRacingData.Parser);

		// Token: 0x04002158 RID: 8536
		private readonly RepeatedField<MovieRacingData> movieRacingDataList_ = new RepeatedField<MovieRacingData>();
	}
}
